﻿using ICameraClassLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CameraClassLibrary
{
    public class HikVision : ICamera
    {
        public string BrandName { get; set; } = "海康威视";

        public void OpenCamera() =>
            MessageBox.Show(BrandName + "相机打开", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

        public void SnapShot() =>
            MessageBox.Show(BrandName + "相机拍照一张", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

        public void ContinuousShot() =>
            MessageBox.Show(BrandName + "相机拍照多张", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

        public void CloseCamera() =>
            MessageBox.Show(BrandName + "相机关闭", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

    }
}
